package com.soft.javase.day02.consolidation.hasanduse;

/**
 * @author yzg
 * @desc TODO
 * @date 2025/4/16
 */
public class Test {
    public static void main(String[] args) {
        Car car = new Car("奔驰", "黑色");
        Phone phone = new Phone("小米", "黑色");
        People people = new People("小明", 25, phone);

        people.call();
        people.work(car);
    }
}
